package org.jeecg.modules.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.biz.entity.EventExchange;
import org.jeecg.modules.biz.mapper.EventExchangeMapper;
import org.jeecg.modules.biz.service.EventExchangeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * 闪兑事件service接口实现
 *
 */
@Service
public class EventExchangeServiceImpl extends ServiceImpl<EventExchangeMapper, EventExchange> implements EventExchangeService {

    @Autowired
    private EventExchangeMapper exchangeMapper;

    @Override
    public EventExchange getLatestOne() {
        return exchangeMapper.getLatestOne();
    }
}
